WeDevs\Dokan\REST\AdminDashboardStatsController S

Total Complexity 46
Dependencies 5
Dependents 0
Total lines 1,186
Lines of code 866
Logical lines of code 120
Comment lines 246
Methods 28
Properties 1

Methods 28

Method Rating Maintainability Complexity Lines of code
register_routes()
A
34 5 130
get_all_time_stats()
S
38 3 79
parse_date_range()
S
46 5 38
get_todo_schema()
S
40 1 90
get_top_performing_vendors()
S
51 4 26
get_monthly_overview_schema()
S
43 1 65
get_most_reviewed_products()
S
49 3 34
get_all_time_stats_schema()
S
43 1 63
get_vendor_metrics_schema()
S
44 1 63
get_analytics_schema()
S
47 1 47
get_top_performing_vendors_schema()
S
51 1 32
get_to_do()
S
51 1 30
get_most_reviewed_products_schema()
S
52 1 28
get_sales_chart_schema()
S
54 1 23
get_analytics_data()
S
56 1 19
get_sales_chart_data()
S
70 2 6
get_top_performing_vendors_data()
S
70 2 6
get_vendor_metrics_data()
S
70 2 6
get_sales_chart()
S
60 1 15
get_vendor_metrics()
S
63 1 12
get_filtered_product_types()
S
63 1 12
get_monthly_overview_data()
S
74 1 4
get_all_time_stats_data()
S
80 1 3
get_most_reviewed_products_data()
S
80 1 3
get_vendor_approvals_count()
S
75 1 4
get_product_approvals_count()
S
65 1 10
get_pending_withdrawals_count()
S
66 1 8
get_monthly_overview()
S
65 1 10